
"""
小说信息
"""
from pydantic import BaseModel, Field
from typing import Any, Dict, List

class Novel(BaseModel):

    title: str = Field(default='', description="标题")
    genre: str = Field(default='', description='题材类型')

    topn: int = Field(default=100, description="前n章")
    chapters: List = Field(default=[], description='小说章节')
    characters: Dict = Field(default={}, description="角色详情信息")

    plot_rating: Any = Field(default='', description="情节设计评分")
    character_rating: Any = Field(default='', description="人物塑造评分")
    worldview_rating: Any = Field(default='', description="世界观构建评分")
    style_rating: Any = Field(default='', description="文笔写作评分")

    total_score: float = Field(default=0, description="老白视角的总评分")
    conclusion: Any = Field(default='', description="综合结论")
